package com.lzyjkz.quick_system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lzyjkz.quick_system.entity.SysOauthInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SysOauthInfoMapper extends BaseMapper<SysOauthInfo> {
    boolean existUserByIdAndPlatform(@Param("id") String id, @Param("platform") String platform);

    SysOauthInfo findByIdAndPlatform(@Param("id") String id, @Param("platform") String platform);
}
